Package-level declarations

Types

Link copied to clipboard
@Immutable
data class ChangedArgument(val previous: ValueArgument, val new: ValueArgument)

Indicates which arguments have changed as a result of the recomposition.

Link copied to clipboard
@Immutable
data class ComposableInformation(val name: String, val packageName: String, val fileName: String, val compoundKey: Int? = null)

Indicates which Composables were affected by the state change.

Link copied to clipboard
Link copied to clipboard

Classes that hold data from ComposeInvestigator.

Link copied to clipboard
@Target(allowedTargets = [])
annotation class ComposableName(val name: String)

Returns the name of the current Composable. See ComposableInvalidationTraceTable.currentComposableName.

Link copied to clipboard

APIs annotated with this should only be used within Composable functions.

Link copied to clipboard

Configures the runtime operation of ComposeInvestigator.

Link copied to clipboard
@Immutable
sealed class InvalidationResult

Defines the result of the invalidation requested for the Composable.

Link copied to clipboard

ComposeInvestigator does not work on annotated files or Composable functions.

Link copied to clipboard
@Immutable
sealed class Stability

Represents Compose's stability system. See the official documentation for more information about Compose's stability.

Link copied to clipboard
@Immutable
data class ValueArgument(val name: String, val type: String, val valueString: String, val valueHashCode: Int, val stability: Stability)

Represents information about the Composable function's value argument.

Properties

Link copied to clipboard

Fully-qualified name of the Composable function.

Functions

Link copied to clipboard
operator fun ComposableName.getValue(thisRef: Any?, property: Any?): String

val name: String by ComposableName("MyComposable") // result: "MyComposable"

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard